package com.paomi.client.activity.login.view;

import com.hannesdorfmann.mosby3.mvp.MvpView;
import com.paomi.client.bean.BaseJSON;
import com.paomi.client.bean.UserInfo;

/**
 * Created by pc on 2018/10/28
 * Describe: M层与P层的通讯，数据的回传
 * com.paomi.client.activity.login.view
 */
public interface LoginMvpView extends MvpView {
    /**
     * 返回登录数据
     * @param result
     */
    void showSendMsg(BaseJSON result);
    /**
     * 返回登录数据
     * @param result
     */
    void showLoginData(UserInfo result);

    /**
     * 获取用户信息
     */
    void showUserInfo(UserInfo result);
}
